package org.edu.isis.bravefox;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;


public class splashPage extends Activity {
	Button bCtrlTest;
    Button bVideoTest;
    
    @Override
    public void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);

            setContentView(R.layout.mainmenu);
            
            bCtrlTest = (Button) findViewById(R.id.bCtrlTest);
            bVideoTest = (Button) findViewById(R.id.bVideoTest);
            
            bCtrlTest.setOnClickListener(new OnClickListener() {
                @Override
                public void onClick(View v) {
                        startActivity(new Intent(getApplicationContext(),CtrlTest.class));
                }
            });
            
            bVideoTest.setOnClickListener(new OnClickListener() {
                @Override
                public void onClick(View v) {
                        startActivity(new Intent(getApplicationContext(),MissileCtrl.class));
                }
            });
    }
}